*Table 2, Model 1, Incidents*
xtgee    pirincidents_new  sfi_lag   fishval_difln   wto_lntrade   ucdp_intrastate coast_ln demdum  terrorism_all    pop_ln    cinc    africa westhem europe  middleeast  , fam(nbinomial) corr(ar1)
*Table 2, Model 2, Attacks*
xtgee     pirattacks_new  sfi_lag   fishval_difln   wto_lntrade   ucdp_intrastate coast_ln demdum  terrorism_all    pop_ln    cinc    africa westhem europe  middleeast  , fam(nbinomial) corr(ar1)
*Table 2, Model 3, Hijackings*
xtgee     hijack sfi_lag   fishval_difln   wto_lntrade   ucdp_intrastate coast_ln demdum  terrorism_all    pop_ln    cinc    africa westhem europe  middleeast  , fam(nbinomial) corr(ar1)
*Table 2, Model 4, Attacks, Interaction between lag of sfi and democracy dummy
xtgee      pirattacks_new sfi_lag   fishval_difln   wto_lntrade   ucdp_intrastate coast_ln demdum  sfi_dem terrorism_all    pop_ln    cinc    africa westhem europe  middleeast  , fam(nbinomial) corr(ar1)


